package com.ay201.oa.entity.doc;

import java.io.Serializable;

/**公文实体类
 * @author Administrator
 *
 */
public class Document implements Serializable {
	/**
	 * 公文编号
	 */
	private int docId;
	/**
	 * 公文类型
	 */
	private DocType docType;
	/**
	 * 公文标题
	 */
	private String docTitle;
	/**
	 * 公文描述
	 */
	private String docDescription;
	/**
	 * 公文内容
	 */
	private String docContent;
	/**
	 * 公文创建者
	 */
	private String docCreator;
	/**
	 * 公文创建时间
	 */
	private String docCreateTime;
	/**
	 * 是否已处理
	 */
	private boolean docProcessed;
	/**
	 * 公文审批状态
	 */
	private Status status;
	public int getDocId() {
		return docId;
	}
	public void setDocId(int docId) {
		this.docId = docId;
	}
	public DocType getDocType() {
		return docType;
	}
	public void setDocType(DocType docType) {
		this.docType = docType;
	}
	public String getDocTitle() {
		return docTitle;
	}
	public void setDocTitle(String docTitle) {
		this.docTitle = docTitle;
	}
	public String getDocDescription() {
		return docDescription;
	}
	public void setDocDescription(String docDescription) {
		this.docDescription = docDescription;
	}
	public String getDocContent() {
		return docContent;
	}
	public void setDocContent(String docContent) {
		this.docContent = docContent;
	}
	public String getDocCreator() {
		return docCreator;
	}
	public void setDocCreator(String docCreator) {
		this.docCreator = docCreator;
	}
	public String getDocCreateTime() {
		return docCreateTime;
	}
	public void setDocCreateTime(String docCreateTime) {
		this.docCreateTime = docCreateTime;
	}
	public boolean isDocProcessed() {
		return docProcessed;
	}
	public void setDocProcessed(boolean docProcessed) {
		this.docProcessed = docProcessed;
	}
	public Status getStatus() {
		return status;
	}
	public void setStatus(Status status) {
		this.status = status;
	}
	public Document() {
		// TODO Auto-generated constructor stub
	}
	public Document(int docId, DocType docType, String docTitle,
			String docDescription, String docContent, String docCreator,
			String docCreateTime, boolean docProcessed, Status status) {
		super();
		this.docId = docId;
		this.docType = docType;
		this.docTitle = docTitle;
		this.docDescription = docDescription;
		this.docContent = docContent;
		this.docCreator = docCreator;
		this.docCreateTime = docCreateTime;
		this.docProcessed = docProcessed;
		this.status = status;
	}
	public Document(DocType docType, String docTitle, String docDescription,
			String docContent, String docCreator, String docCreateTime,
			boolean docProcessed, Status status) {
		super();
		this.docType = docType;
		this.docTitle = docTitle;
		this.docDescription = docDescription;
		this.docContent = docContent;
		this.docCreator = docCreator;
		this.docCreateTime = docCreateTime;
		this.docProcessed = docProcessed;
		this.status = status;
	}
	
	
	

}
